package com.itchen.hospital.service;

import com.github.pagehelper.PageInfo;
import com.itchen.hospital.pojo.Params;
import com.itchen.hospital.pojo.Patient;
import com.itchen.hospital.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PatientService {

    /**
     * 条件查询
     * @param params
     * @return
     */
    PageInfo<Patient> search(Params params);


    /**
     * 修改
     * @param patient
     */
    void update(Patient patient);

}
